<template>
    <div>
     testB
     <button @click="handler">向数组内追加数据</button>
    </div>

</template>
<script  setup lang="ts">   
//我想在b组件内控制
import { listStore } from '@/stores/list_story';


const $store = listStore()


const  handler = () =>{
 $store.pushApi('帅气的李政')
}
</script>
<style scoped lang="scss">

</style>